/**
 * APITable <https://github.com/apitable/apitable>
 * Copyright (C) 2022 APITable Ltd. <https://apitable.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* eslint-disable max-len */
import React from 'react';
import { makeIcon, IIconProps } from '../utils/icon';

export const TextFilled: React.FC<IIconProps> = makeIcon({
    Path: ({ colors }) => <>
    <path d="M8 5.98629L9.09416 8.73305H6.90584L8 5.98629Z" fill={ colors[0] }/>
<path d="M2.75 1.5C2.05964 1.5 1.5 2.05964 1.5 2.75V13.25C1.5 13.9404 2.05964 14.5 2.75 14.5H13.25C13.9404 14.5 14.5 13.9404 14.5 13.25V2.75C14.5 2.05964 13.9404 1.5 13.25 1.5H2.75ZM4.44284 12.0188L4.44614 12.0225L4.44959 12.0261C4.59396 12.1767 4.77995 12.25 4.98762 12.25C5.1348 12.25 5.27378 12.2108 5.39674 12.1292L5.399 12.1277L5.40122 12.1262C5.5261 12.0394 5.62055 11.924 5.68217 11.7848L5.68402 11.7806L6.32722 10.1709H9.67278L10.316 11.7806L10.3178 11.7848C10.377 11.9185 10.4639 12.0324 10.5796 12.1201L10.5898 12.1278L10.6007 12.1345C10.7264 12.211 10.8653 12.25 11.0124 12.25C11.2184 12.25 11.4039 12.1775 11.543 12.0226C11.6819 11.876 11.75 11.6936 11.75 11.4915C11.75 11.3859 11.7195 11.2767 11.678 11.1728L8.91348 4.36722L8.91264 4.36525C8.84058 4.19618 8.73437 4.05313 8.5927 3.94271C8.44154 3.81091 8.25624 3.75 8.05418 3.75H7.94582C7.7407 3.75 7.55308 3.81258 7.39645 3.94289C7.26076 4.05431 7.15877 4.19769 7.08736 4.36525L7.08652 4.36722L4.32256 11.1714L4.32203 11.1728C4.28048 11.2767 4.25 11.3859 4.25 11.4915C4.25 11.6895 4.31174 11.8707 4.44284 12.0188Z" fill={ colors[0] } fillRule="evenodd" clipRule="evenodd"/>

  </>,
  name: 'text_filled',
  defaultColors: ['#D9D9D9'],
  colorful: false,
  allPathData: ['M8 5.98629L9.09416 8.73305H6.90584L8 5.98629Z', 'M2.75 1.5C2.05964 1.5 1.5 2.05964 1.5 2.75V13.25C1.5 13.9404 2.05964 14.5 2.75 14.5H13.25C13.9404 14.5 14.5 13.9404 14.5 13.25V2.75C14.5 2.05964 13.9404 1.5 13.25 1.5H2.75ZM4.44284 12.0188L4.44614 12.0225L4.44959 12.0261C4.59396 12.1767 4.77995 12.25 4.98762 12.25C5.1348 12.25 5.27378 12.2108 5.39674 12.1292L5.399 12.1277L5.40122 12.1262C5.5261 12.0394 5.62055 11.924 5.68217 11.7848L5.68402 11.7806L6.32722 10.1709H9.67278L10.316 11.7806L10.3178 11.7848C10.377 11.9185 10.4639 12.0324 10.5796 12.1201L10.5898 12.1278L10.6007 12.1345C10.7264 12.211 10.8653 12.25 11.0124 12.25C11.2184 12.25 11.4039 12.1775 11.543 12.0226C11.6819 11.876 11.75 11.6936 11.75 11.4915C11.75 11.3859 11.7195 11.2767 11.678 11.1728L8.91348 4.36722L8.91264 4.36525C8.84058 4.19618 8.73437 4.05313 8.5927 3.94271C8.44154 3.81091 8.25624 3.75 8.05418 3.75H7.94582C7.7407 3.75 7.55308 3.81258 7.39645 3.94289C7.26076 4.05431 7.15877 4.19769 7.08736 4.36525L7.08652 4.36722L4.32256 11.1714L4.32203 11.1728C4.28048 11.2767 4.25 11.3859 4.25 11.4915C4.25 11.6895 4.31174 11.8707 4.44284 12.0188Z'],
  width: '16',
  height: '16',
  viewBox: '0 0 16 16',
});
